import Vue from 'vue';
import Router from 'vue-router';
// import Home from '@/components/Home';
import Index from '@/components/index';
import Table from '@/components/table';
import Redis from '@/components/redis';

Vue.use(Router);

export default new Router({
  routes: [

    {
      path: '/',
      name: 'home',
      component: Index
    },
    {
      path: '/redis',
      name: 'redis',
      component: Redis
    },
    {
      path: '/table',
      name: 'table',
      component: Table
    }
  ]
});
